// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import ElementUI from 'element-ui';

// 引入全局样式
import './assets/sss/global.scss';

//导入mock数据
import './mock';

//导入请求框架
import api from './api';

//导入自定义插件
import Plugins from './plugins'

// 引入font-awesome 字体
import 'font-awesome/css/font-awesome.css';

// element-ui 引入
import 'element-ui/lib/theme-chalk/index.css';

// 引入显示隐藏样式
import 'element-ui/lib/theme-chalk/display.css';

// import $ from 'jquery';
// import 'bootstrap/dist/css/bootstrap.min.css'
// import 'bootstrap/dist/js/bootstrap.min.js'
// import 'bootstrap/js/bootstrap.min.js'
// import 'bootstrap/css/bootstrap.min.css'

import './assets/css/bootstrap.min.css';
import  './assets/css/components.css';
import  './assets/css/custom.css';

import '../static/vendors/c3/css/c3.min.css';
import  '../static/vendors/toastr/css/toastr.min.css';
import  '../static/vendors/switchery/css/switchery.min.css';
import  './assets/css/pages/new_dashboard.css';




// Vue.use(Vuex)
Vue.use(ElementUI);
//使用api
Vue.use(api)

//使用自定义插件
Vue.use(Plugins)

Vue.config.productionTip = false
import axios from 'axios';
Vue.prototype.$axios = axios;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
